package com.wish.wishhouse_foreclosure.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.wish.wishhouse_foreclosure.entity.TMBank;
import com.wish.wishhouse_foreclosure.mapper.TMBankMapper;
import com.wish.wishhouse_foreclosure.service.ITMBankService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 银行代码表 服务实现类
 * </p>
 *
 * @author zhangshuxin
 * @since 2021-04-02
 */
@Service
public class TMBankServiceImpl extends ServiceImpl<TMBankMapper, TMBank> implements ITMBankService {

    @Override
    public List<TMBank> selectList() {
        TMBank bank = new TMBank();
        bank.setDelFlg(0);
        QueryWrapper<TMBank> wrapper = new QueryWrapper<>();
        wrapper.eq("del_flg",0);
        return baseMapper.selectList(wrapper);
    }


}
